jQuery(function($) {

var members = [];

$('#awplus_content table:eq(2) td:gt(0):odd a').each(function(i) {
  members.push( i + ':' + $(this).text() );
  var html = '<a style="padding: 0px 11px 0px 10px; position: relative; text-decoration: none;" class="ui-state-default ui-corner-all" href="Detail.php/?id='+i+'" title="View details"><span style="margin: -9px 0px 0pt 0pt; left: 0.2em; position: absolute; top: 50%;" class="ui-icon ui-icon-person"/></a>&nbsp;'
  $(this).before(html);
});

$.cookie('ap_memberlist', members.join('|'), {expires: 1, path: '/'});

});
